package com.qunduikj.sjb.sdk.model.enums;

/**
 * Created by Administrator on 2015/10/19 0019.
 */
public enum  PhoneBrandType {

    XIAOMI(1, "小米"), MEIZU(2, "魅族"), VIVO(3, "Vivo");
    // 定义私有变量
    private int code;
    private String brand;

    // 构造函数，枚举类型只能为私有
    PhoneBrandType(int code, String brand) {
        this.code = code;
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
